<%--
  Created by IntelliJ IDEA.
  User: JAVA
  Date: 2018/5/9
  Time: 16:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${paramValues.hobbys[0]}<br>
${param.singleHobby}<br>


    <%
    int x;
    int sum=0;
    for(x=1;x<=100;x++){
        sum=x+sum;
    }
    pageContext.setAttribute("a",sum);
%>
<p>${pageScope.a}</p>
</body>
</html>